//
//  KKStudyHttp.h
//  DoMi
//
//  Created by 康凯 on 16/10/28.
//  Copyright © 2016年 kk. All rights reserved.
//

#import "KKBaseHttp.h"

@interface KKStudyHttp : KKBaseHttp

//头部item
+ (void)getTopItem:(NSDictionary *)params success:(void(^)(id datas))success failure:(void(^)(NSError *error))failure;
//首页本月最佳列表
+ (void)getBestList:(NSDictionary *)params success:(void(^)(NSArray *datas))success failure:(void(^)(NSError *error))failure;
//学习首页列表
+ (void)getHomeList:(NSDictionary *)params success:(void(^)(id datas))success failure:(void(^)(NSError *error))failure;
//头部item列表
+ (void)getTopItemList:(NSDictionary *)params success:(void(^)(NSArray *datas))success failure:(void(^)(NSError *error))failure;
//学习视频详情页
+ (void)getVideoDetail:(NSDictionary *)params success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//文章视频收藏
+ (void)addCollect:(NSDictionary *)params success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//文章视频取消收藏
+ (void)cancleCollect:(NSDictionary *)params success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//视频点赞
+ (void)addVideoLike:(NSDictionary *)params success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//评论点赞
+ (void)addCommentLike:(NSString *)commentId success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//相关视频列表
+ (void)getRelateVideoList:(NSString *)videoId success:(void(^)(NSArray *datas))success failure:(void(^)(NSError *error))failure;
//视频/文章评论列表
+ (void)getCommentList:(NSDictionary *)params success:(void(^)(NSArray *datas))success failure:(void(^)(NSError *error))failure;
//评论回复列表
+ (void)getReplyList:(NSString *)commentId success:(void(^)(NSArray *datas))success failure:(void(^)(NSError *error))failure;
//获取视频播放权限
+ (void)getVideoPermission:(NSString *)videoId success:(void(^)(id datas))success failure:(void(^)(NSError *error))failure;
//获取视频购买信息
+ (void)getVideoBuyInfo:(NSString *)videoId success:(void(^)(id datas))success failure:(void(^)(NSError *error))failure;
//发表评论
+ (void)addComment:(NSDictionary *)params success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//评论回复
+ (void)addVideoReply:(NSDictionary *)params success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//排行榜
+ (void)getRankList:(NSString *)type success:(void(^)(id datas))success failure:(void(^)(NSError *error))failure;
//搜索
+ (void)getSearchList:(NSDictionary *)params success:(void(^)(id datas))success failure:(void(^)(NSError *error))failure;
//首页banner
+ (void)getBannerInfo:(void(^)(id datas))success failure:(void(^)(NSError *error))failure;
//分享视频回调
+(void)shareVideoCallBack:(NSString *)videoId success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//视频积分支付
+(void)payJiFenVideo:(NSString *)videoId success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//视频支付
+(void)getPayVideoInfo:(NSDictionary *)params success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//热门搜索
+(void)getHotSearchList:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
@end
